package mn.idax.exchange.otc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan(basePackages = {"mn.idax.exchange.otc.mapper*"})
@ImportResource({"classpath:dubbo-provider.xml"})
@SpringBootApplication
@EnableTransactionManagement
@EnableConfigurationProperties
@EnableAsync
@ComponentScan(basePackages = {"mn.idax"})
public class ChatApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(ChatApplication.class, args);
    }


    @Override
    public void run(String... strings) {

    }
}
